package com.fourth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.entity.Sort;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.math.BigInteger;
import java.util.List;

/**
 * @author xiaoZhu
 * @version 1.0
 * @date 2023/2/27 21:57
 */
@Mapper
public interface SortDao extends BaseMapper<Sort> {
    @Select("select * from g_sort where status=#{status} or id=#{id}")
    List<Sort> selectListAll(Integer status, BigInteger id);
//    List<Sort> selectList1(Object o);
}

